* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    outline: 0;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

:root {
    /* Light theme default */
    --primary-color: #000000;
    --secondary-color: #5e5e5e;
    --tertiary-color: #003f3f;
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f5;
    --bg-dark: #f8f9fa;
    --bg-darker: #e9ecef;
    --text-primary: #212529;
    --text-secondary: #495057;
    --text-light: #212529;
    --text-gray: #6c757d;
    --border-color: #dee2e6;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --header-height: 68px;
    --overlay-dark: rgba(0, 0, 0, 0.7);
    --overlay-light: rgba(255, 255, 255, 0.9);

    /* Footer Variables */
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --bg-color-rgb: 234, 234, 234;
    --text-color: var(--text-primary);
    --text-color-rgb: 33, 37, 41;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Helvetica Neue', Arial, sans-serif;
    overflow-x: hidden;
    transition: var(--transition);
}

.dark-mode {
    --primary-color: #ffffff;
    --secondary-color: #818181;
    --tertiary-color: #004d4d;
    --bg-primary: #121212;
    --bg-secondary: #1e1e1e;
    --bg-dark: #000000;
    --bg-darker: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-light: #ffffff;
    --text-gray: #9e9e9e;
    --border-color: #333333;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --overlay-dark: rgba(0, 0, 0, 0.85);
    --overlay-light: rgba(255, 255, 255, 0.1);

    /* Footer Dark Mode Variables */
    --bg-color-rgb: 5, 5, 5;
    --text-color: var(--text-primary);
    --text-color-rgb: 255, 255, 255;
}

.app-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ========================================
   MINIMAL DESIGN SYSTEM
   ======================================== */

/* Header - Ultra Minimal */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 30000;
    padding: 0 5%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
    background: var(--bg-primary) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .header {
        background: var(--bg-primary);
        /* Always solid on mobile for stability */
        height: 70px;
        padding: 0 20px;
    }
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    z-index: 1001;
}

.logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

/* Navigation */
.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-secondary);
    text-decoration: none;
    position: relative;
    padding: 8px 0;
    transition: color 0.3s ease;
    letter-spacing: 0.3px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--text-primary);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Browse Dropdown */
.nav-dropdown {
    position: relative;
}

.dropdown-trigger {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-secondary);
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.dropdown-trigger i {
    font-size: 0.65rem;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-trigger {
    color: var(--text-primary);
}

.nav-dropdown:hover .dropdown-trigger i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 180px;
    background: var(--bg-primary);
    border: 1px solid rgba(128, 128, 128, 0.15);
    border-radius: 8px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

body.dark-mode .dropdown-menu {
    background: #1a1a1a;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: block;
    padding: 10px 20px;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(201, 162, 39, 0.1);
    color: #c9a227;
    padding-left: 24px;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10005;
}

.icon-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.icon-btn:hover {
    color: var(--text-primary);
    background: rgba(128, 128, 128, 0.1);
}

.icon-btn i {
    font-size: 1rem;
}

/* Hamburger - Minimal 2-line */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

.hamburger.active span:first-child {
    transform: translateY(3.75px) rotate(45deg);
}

.hamburger.active span:last-child {
    transform: translateY(-3.75px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary) !important;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    z-index: 25000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding-top: 60px;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    width: 100%;
}

.mobile-link {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-link:hover,
.mobile-link.active {
    color: var(--text-primary);
}

.mobile-footer {
    position: absolute;
    bottom: 40px;
    text-align: center;
}

.mobile-footer p {
    font-size: 0.85rem;
    color: var(--text-gray);
}

/* ========================================
   HERO - SPLIT LAYOUT
   ======================================== */

.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-top: 80px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 60px 8% 60px 5%;
    position: relative;
    z-index: 5;
    text-align: left;
}

.hero-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #c9a227;
    margin-bottom: 24px;
}

.hero-heading {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 500;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 24px;
    text-align: left;
}

.hero-accent {
    font-style: italic;
    color: var(--text-secondary);
}

.hero-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 400px;
    margin-bottom: 40px;
    text-align: left;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    background: transparent;
    border: 1px solid var(--text-primary);
    padding: 16px 32px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: fit-content;
}

.hero-cta:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
}

.hero-cta i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.hero-cta:hover i {
    transform: translateX(4px);
}

/* Hero CTA with Ripple Button */
.hero-cta-btn {
    padding: 16px 32px !important;
    border-radius: 4px !important;
    font-size: 0.95rem !important;
    width: fit-content !important;
}

.hero-cta-btn .btn-text {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-cta-btn .btn-text i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.hero-cta-btn:hover .btn-text i {
    transform: translateX(4px);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    overflow: hidden;
}

.hero-image-wrapper {
    position: absolute;
    inset: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    background-image: url('/Vrindopnishad Web/class/image/KRSHN/Blue_Krishna_personified_as_living_aurora_borealis_with_cosmic_celestial_colors.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

body:not(.dark-mode) .hero-image {
    background-image: url('/Vrindopnishad Web/class/image/KRSHN/Blue_Krishna_personified_as_living_aurora_borealis_with_cosmic_celestial_colors.png');
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.4) 100%);
}

.hero-image-label {
    position: absolute;
    bottom: 40px;
    left: 40px;
    right: 40px;
    z-index: 2;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 24px 28px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.hero-image-label:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.label-category {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #c9a227;
    margin-bottom: 8px;
}

.label-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: white;
    margin-bottom: 0;
}

/* Light mode adjustments for label */
body:not(.dark-mode) .hero-image-label {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.1);
}

body:not(.dark-mode) .label-title {
    color: #1a1a1a;
}

/* Search overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    /* Don't block clicks when hidden */
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    /* Allow clicks when visible */
}

.search-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    width: 90%;
    max-width: 600px;
    padding: 2rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.search-overlay.active .search-container {
    transform: translate(-50%, -50%);
    opacity: 1;
}

.search-input {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1.2rem;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
}

.search-results {
    margin-top: 2rem;
    max-height: 60vh;
    overflow-y: auto;
    color: #fff;
    padding-right: 1rem;
}

.search-results::-webkit-scrollbar {
    width: 6px;
}

.search-results::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.search-results::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.search-result-item {
    padding: 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.search-result-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 60px;
    overflow: hidden;
    background: linear-gradient(135deg,
            var(--bg-primary) 0%,
            var(--bg-secondary) 50%,
            var(--bg-primary) 100%);
}

/* Animated background pattern */
.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(230, 92, 0, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(249, 212, 35, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(230, 92, 0, 0.05) 0%, transparent 30%);
    z-index: 0;
    animation: patternPulse 8s ease-in-out infinite;
}

@keyframes patternPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.02);
    }
}

/* Floating spiritual icons */
.hero-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.floating-icon {
    position: absolute;
    left: var(--x);
    top: var(--y);
    font-size: 2rem;
    color: rgba(230, 92, 0, 0.15);
    animation: floatIcon 6s ease-in-out infinite;
    animation-delay: var(--delay);
}

body.dark-mode .floating-icon {
    color: rgba(249, 212, 35, 0.12);
}

@keyframes floatIcon {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.3;
    }

    50% {
        transform: translateY(-20px) rotate(10deg);
        opacity: 0.6;
    }
}

/* Hero Content - Centered */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: linear-gradient(135deg, rgba(230, 92, 0, 0.1) 0%, rgba(249, 212, 35, 0.1) 100%);
    border: 1px solid rgba(230, 92, 0, 0.2);
    border-radius: 50px;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    color: #e65c00;
    font-size: 1rem;
}

.hero-badge span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #e65c00;
    letter-spacing: 1px;
}

body.dark-mode .hero-badge {
    background: linear-gradient(135deg, rgba(230, 92, 0, 0.15) 0%, rgba(249, 212, 35, 0.1) 100%);
    border-color: rgba(249, 212, 35, 0.3);
}

body.dark-mode .hero-badge i,
body.dark-mode .hero-badge span {
    color: #f9d423;
}

/* Hero Title */
.hero-title {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.hero-title-line {
    display: block;
}

.hero-title-accent {
    background: linear-gradient(135deg, #e65c00 0%, #f9d423 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Description */
.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 32px;
    color: var(--text-secondary);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 30;
    margin-bottom: 48px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
    overflow: hidden;
}

.hero-btn-primary {
    background: linear-gradient(135deg, #e65c00 0%, #f9d423 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(230, 92, 0, 0.35);
}

.hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(230, 92, 0, 0.45);
}

.hero-btn-primary:active {
    transform: translateY(-1px);
}

.hero-btn-secondary {
    background: rgba(128, 128, 128, 0.1);
    color: var(--text-primary);
    border: 1px solid rgba(128, 128, 128, 0.3);
    backdrop-filter: blur(10px);
}

.hero-btn-secondary:hover {
    background: rgba(128, 128, 128, 0.2);
    border-color: rgba(230, 92, 0, 0.3);
    transform: translateY(-3px);
}

/* Ensure hero section buttons are clickable - max priority */
.hero-section .hero-buttons {
    position: relative !important;
    z-index: 9999 !important;
    pointer-events: auto !important;
}

.hero-section .hero-buttons .hero-btn,
.hero-section .hero-buttons button {
    position: relative !important;
    z-index: 10000 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.hero-stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: #e65c00;
    line-height: 1;
}

body.dark-mode .hero-stat-number {
    color: #f9d423;
}

.hero-stat-label {
    font-size: 0.85rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, transparent, var(--border-color), transparent);
}

/* Hero Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-gray);
    font-size: 0.85rem;
    animation: bounceDown 2s ease-in-out infinite;
    z-index: 10;
}

.hero-scroll-indicator i {
    font-size: 1.2rem;
    color: #e65c00;
}

body.dark-mode .hero-scroll-indicator i {
    color: #f9d423;
}

@keyframes bounceDown {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

.btn {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background-color: var(--text-light);
    color: var(--bg-dark);
}

.btn-primary:hover {
    background-color: rgba(86, 86, 86, 0.75);
}

.btn-secondary {
    background-color: rgba(188, 188, 188, 0.7);
    color: var(--text-light);
}

.btn-secondary:hover {
    background-color: rgba(109, 109, 110, 0.4);
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 3;
    background-color: var(--bg-dark);
    padding: 0;
    min-height: calc(100vh - var(--header-height));
    display: flex;
    flex-direction: column;
}

/* Row Section */
.content-row {
    margin-bottom: 3rem;
    flex: 0 0 auto;
}

/* My List Row - Hidden by default, shown when items exist */
.my-list-row {
    display: none;
}

.my-list-row.active {
    display: block;
}

.row-header {
    padding: 0 4%;
    margin-bottom: 0.8rem;
}

.row-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-light);
}

.slider-container {
    position: relative;
    padding: 0 4%;
    margin: 2rem 0;
}

.items-slider {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 4rem 0;
    margin: -4rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    transition: transform 0.3s ease;
    will-change: transform;
}

.items-slider::-webkit-scrollbar {
    display: none;
}

@media (min-width: 1024px) {
    .slider-container {
        overflow: visible;
    }

    .items-slider {
        padding: 6rem 0;
        margin: -6rem 0;
        will-change: transform;
    }
}

/* Collection Items */
.collection-item {
    min-width: 280px;
    aspect-ratio: 16 / 10;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0, 0.2, 1);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-color: rgba(128, 128, 128, 0.1);
    margin: 0.4vw;
    flex-shrink: 0;
    border: 1px solid rgba(128, 128, 128, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Collection item gradients for dark mode */
body.dark-mode .collection-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg,
            rgb(0, 0, 0) 0%,
            rgba(0, 0, 0, 0.95) 20%,
            rgba(0, 0, 0, 0.7) 40%,
            transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Collection item gradients for light mode */
body:not(.dark-mode) .collection-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg,
            rgb(255, 255, 255) 0%,
            rgba(255, 255, 255, 0.95) 20%,
            rgba(255, 255, 255, 0.7) 40%,
            transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

@media (min-width: 1024px) {
    .collection-item {
        will-change: transform, z-index;
        transform-origin: center center;
        transition: transform 0.3s cubic-bezier(0.2, 0, 0.2, 1);
    }

    .slider-container:hover .collection-item {
        transform: translateX(-25%);
    }

    .collection-item:hover {
        transform: scale(1.5) translateY(0) !important;
        z-index: 10;
    }

    .collection-item:hover~.collection-item {
        transform: translateX(25%);
    }

    .collection-item:not(:first-child):hover {
        margin-left: 2rem;
    }

    .collection-item:not(:last-child):hover {
        margin-right: 2rem;
    }

    .collection-item:hover {
        position: relative;
        z-index: 11;
    }
}

.collection-item:hover::before {
    opacity: 1;
}

/* Item content gradients for dark mode */
body.dark-mode .item-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    padding-top: 40px;
    color: white;
    transform: translateY(0);
    opacity: 0;
    transition: all 0.3s ease;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.95) 0%,
            rgba(0, 0, 0, 0.75) 50%,
            transparent 100%);
}

/* Item content gradients for light mode */
body:not(.dark-mode) .item-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    padding-top: 40px;
    color: #1a1a1a;
    transform: translateY(0);
    opacity: 0;
    transition: all 0.3s ease;
    background: linear-gradient(to top,
            rgba(255, 255, 255, 0.98) 0%,
            rgba(255, 255, 255, 0.85) 50%,
            transparent 100%);
}

.collection-item:hover .item-content {
    transform: translateY(0);
    opacity: 1;
}

.item-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.item-description {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

/* Category tags for dark mode */
body.dark-mode .category-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.3rem 0.8rem;
    background: rgba(0, 0, 0, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    font-size: 0.8rem;
    color: white;
    text-transform: capitalize;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

body.dark-mode .category-tag:hover {
    background: rgba(0, 0, 0, 0.95);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Category tags for light mode */
body:not(.dark-mode) .category-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.3rem 0.8rem;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 1rem;
    font-size: 0.8rem;
    color: black;
    text-transform: capitalize;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

body:not(.dark-mode) .category-tag:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.3);
}

.collection-item.error::before {
    content: '\\f03e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 3rem;
    color: var(--text-gray);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.collection-item .item-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-gray);
}

.collection-item .item-stats i {
    margin-right: 0.4rem;
    color: var(--primary-color);
}

.item-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-gray);
}

.item-count {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Featured Collections - Larger Cards */
.featured-collections .collection-item {
    min-width: 340px;
    aspect-ratio: 16 / 10;
    max-width: 500px;
}

/* Popular Now - Different Style */
.popular-now .collection-item {
    min-width: 260px;
    aspect-ratio: 16 / 10;
    max-width: 380px;
}

@media (max-width: 1400px) {
    .featured-collections .collection-item {
        min-width: 300px;
    }

    .popular-now .collection-item {
        min-width: 240px;
    }
}

/* Scroll Buttons */
.scroll-btn {
    position: absolute;
    top: 0;
    bottom: 0;
    border: none;
    width: 4%;
    min-width: 40px;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 5;
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-btn:hover {
    opacity: 1 !important;
}

/* Dark mode scroll buttons */
body.dark-mode .scroll-btn.left {
    left: 0;
    color: white;
    background: linear-gradient(to right,
            rgb(0, 0, 0) 0%,
            rgba(0, 0, 0, 0.95) 40%,
            rgba(0, 0, 0, 0.7) 80%,
            transparent 100%);
}

body.dark-mode .scroll-btn.right {
    right: 0;
    color: white;
    background: linear-gradient(to left,
            rgb(0, 0, 0) 0%,
            rgba(0, 0, 0, 0.95) 40%,
            rgba(0, 0, 0, 0.7) 80%,
            transparent 100%);
}

/* Light mode scroll buttons */
body:not(.dark-mode) .scroll-btn.left {
    left: 0;
    color: black;
    background: linear-gradient(to right,
            rgb(255, 255, 255) 0%,
            rgba(255, 255, 255, 0.95) 40%,
            rgba(255, 255, 255, 0.7) 80%,
            transparent 100%);
}

body:not(.dark-mode) .scroll-btn.right {
    right: 0;
    color: black;
    background: linear-gradient(to left,
            rgb(255, 255, 255) 0%,
            rgba(255, 255, 255, 0.95) 40%,
            rgba(255, 255, 255, 0.7) 80%,
            transparent 100%);
}

.slider-container:hover .scroll-btn {
    opacity: 0.9;
}

@media (hover: none) {
    .scroll-btn {
        display: none;
    }
}

/* POPUP MODAL STYLES - Modern Minimal Design */
.popup-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.popup-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.popup-content {
    background: var(--bg-primary);
    border-radius: 20px;
    overflow: hidden;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transform: scale(0.9) translateY(30px);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.popup-modal.active .popup-content {
    transform: scale(1) translateY(0);
}

.popup-hero {
    position: relative;
    height: 350px;
    background-size: cover;
    background-position: center;
}

.popup-hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70%;
    background: linear-gradient(transparent, var(--bg-primary));
    z-index: 1;
}

.popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    cursor: pointer;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
}

.popup-close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1) rotate(90deg);
}

.popup-info {
    padding: 2.5rem;
    position: relative;
    z-index: 2;
    margin-top: -80px;
}

.popup-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    gap: 2rem;
}

.popup-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.popup-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 1rem;
    font-weight: 600;
    color: #c9a227;
    background: rgba(201, 162, 39, 0.12);
    padding: 8px 14px;
    border-radius: 8px;
    flex-shrink: 0;
}

.popup-rating i {
    font-size: 0.9rem;
}

.popup-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.popup-year {
    color: #c9a227;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
}

.popup-count {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
}

.popup-category {
    background: rgba(201, 162, 39, 0.15);
    color: #c9a227;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Inter', sans-serif;
}

.popup-description {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
}

.popup-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.popup-btn {
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.popup-btn-primary {
    background: #c9a227;
    color: #000;
}

.popup-btn-primary:hover {
    background: #ddb832;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 162, 39, 0.3);
}

.popup-btn-secondary {
    background: rgba(128, 128, 128, 0.15);
    color: var(--text-primary);
    border: 1px solid rgba(128, 128, 128, 0.2);
}

.popup-btn-secondary:hover {
    background: rgba(128, 128, 128, 0.25);
    border-color: rgba(128, 128, 128, 0.3);
}

.popup-btn-outline {
    background: transparent;
    border: 1px solid var(--text-secondary);
    color: var(--text-primary);
}

.popup-btn-outline:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
}

.popup-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.2rem;
    background: rgba(128, 128, 128, 0.08);
    border-radius: 12px;
    border: 1px solid rgba(128, 128, 128, 0.1);
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #c9a227;
    display: block;
    margin-bottom: 4px;
}

.stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.popup-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.popup-tag {
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.popup-tag:hover {
    background: var(--tertiary-color);
    color: white;
    cursor: pointer;
}

.related-section {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.related-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.related-item {
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.related-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.related-image {
    width: 100%;
    height: 100px;
    background-size: cover;
    background-position: center;
}

.related-info {
    padding: 1rem;
}

.related-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.related-count {
    font-size: 0.8rem;
    color: var(--text-gray);
}

/* Dark mode popup adjustments */
.dark-mode .popup-content {
    background: var(--bg-secondary);
}

.dark-mode .popup-hero::before {
    background: linear-gradient(transparent, var(--bg-secondary));
}

.dark-mode .popup-btn-primary {
    background: #ffffff;
    color: #000000;
}

.dark-mode .stat-item,
.dark-mode .popup-tag,
.dark-mode .related-item {
    background: var(--bg-primary);
    border-color: var(--border-color);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .popup-modal {
        padding: 1rem;
        align-items: flex-start;
        overflow-y: auto;
    }

    .popup-content {
        max-height: none;
        margin: 2rem 0;
    }

    .popup-hero {
        height: 250px;
    }

    .popup-info {
        padding: 1.5rem;
    }

    .popup-title {
        font-size: 1.8rem;
    }

    .popup-header {
        flex-direction: column;
        gap: 1rem;
    }

    .popup-actions {
        flex-direction: column;
    }

    .popup-btn {
        justify-content: center;
    }

    .popup-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Footer */
footer {
    padding: calc(var(--spacing-md) * 2) var(--spacing-md) var(--spacing-md);
    position: relative;
    z-index: 1;
    background-color: rgba(var(--bg-color-rgb), 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(var(--text-color-rgb), 0.1);
    margin-top: auto;
}

.footer-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: 0 var(--spacing-md);
}

.footer-logo {
    font-family: 'Protest Strike', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1;
}

.footer-text {
    position: relative;
    z-index: 2;
    background: rgba(var(--bg-color), 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 1rem;
    border-radius: 4px;
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    line-height: 1.6;
    max-width: 35ch;
    border: 1px solid rgba(var(--text-color-rgb), 0.05);
    transition: background 0.3s ease, transform 0.3s ease;
}

.footer-text:hover {
    background: rgba(var(--bg-color), 0.7);
    transform: translateY(-5px);
}

.footer-links h3 {
    font-size: clamp(1.2rem, 1.7vw, 1.4rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    text-decoration: none;
    color: var(--text-color);
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--secondary-color);
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--secondary-color);
    transform: translateX(5px);
}

.footer-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left center;
}

.footer-bottom {
    margin-top: var(--spacing-lg);
    padding-top: 1.5rem;
    border-top: 1px solid rgba(var(--text-color-rgb), 0.1);
    text-align: center;
    font-size: clamp(0.8rem, 1vw, 0.9rem);
    opacity: 0.6;
}

@media (max-width: 768px) {
    footer {
        padding: var(--spacing-xl) var(--spacing-md);
    }

    .footer-content {
        flex-direction: column;
        gap: var(--spacing-xl);
    }

    .footer-links {
        width: 100%;
    }
}

/* Footer social links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-link {
    color: var(--text-color);
    font-size: 1.5rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.social-link:hover {
    opacity: 1;
    color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 1200px) {
    .collection-item {
        min-width: 240px;
    }

    .featured-collections .collection-item {
        min-width: 300px;
    }
}

@media (max-width: 768px) {
    .header {
        background: var(--bg-primary) !important;
        padding: 0 20px;
        height: 70px;
        z-index: 30000;
    }

    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .logo-img {
        width: 32px;
        height: 32px;
    }

    /* Hero Mobile - Stack Layout */
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 70px;
    }

    .hero-content {
        padding: 60px 20px;
        order: 2;
        text-align: center;
        align-items: center;
    }

    .hero-heading {
        font-size: clamp(2.5rem, 10vw, 3.5rem);
    }

    .hero-text {
        max-width: 100%;
        text-align: center;
    }

    .hero-cta {
        width: 100%;
        justify-content: center;
    }

    .hero-visual {
        order: 1;
        height: 50vh;
        min-height: 300px;
    }

    .hero-image-label {
        bottom: 20px;
        left: 20px;
    }

    .label-title {
        font-size: 1.2rem;
    }

    .slider-container,
    .row-header {
        padding: 0 2%;
    }

    .collection-item {
        min-width: 180px;
    }

    .featured-collections .collection-item {
        min-width: 260px;
    }

    .popular-now .collection-item {
        min-width: 160px;
    }

    /* Lighter gradient coverage on mobile */
    body.dark-mode .item-content,
    body:not(.dark-mode) .item-content {
        padding: 12px;
        padding-top: 24px;
    }

    body.dark-mode .item-content {
        background: linear-gradient(to top,
                rgba(0, 0, 0, 0.9) 0%,
                rgba(0, 0, 0, 0.5) 40%,
                transparent 80%);
    }

    body:not(.dark-mode) .item-content {
        background: linear-gradient(to top,
                rgba(255, 255, 255, 0.95) 0%,
                rgba(255, 255, 255, 0.7) 40%,
                transparent 80%);
    }

    .header-actions {
        gap: 4px;
    }

    .icon-btn {
        width: 36px;
        height: 36px;
    }

    .icon-btn i {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    .collection-item {
        min-width: 160px;
        height: 90px;
    }
}

/* Loading Animation */
.collection-item.loading {
    background: linear-gradient(90deg, #333 25%, #444 50%, #333 75%);
    background-size: 200% 100%;
    animation: loading 2s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ========================================
   CATEGORY PILLS - Modern Scrollable Tabs
   ======================================== */
.category-pills-container {
    position: sticky;
    top: 80px;
    z-index: 100;
    background: var(--bg-primary);
    border-bottom: 1px solid rgba(128, 128, 128, 0.1);
    padding: 16px 0;
    transition: all 0.3s ease;
}

body:not(.dark-mode) .category-pills-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

body.dark-mode .category-pills-container {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
}

.category-pills {
    display: flex;
    gap: 10px;
    padding: 0 4%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-pills::-webkit-scrollbar {
    display: none;
}

.category-pill {
    padding: 10px 20px;
    background: rgba(128, 128, 128, 0.08);
    border: 1px solid rgba(128, 128, 128, 0.15);
    border-radius: 25px;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.category-pill:hover {
    background: rgba(201, 162, 39, 0.15);
    border-color: rgba(201, 162, 39, 0.3);
    color: #c9a227;
    transform: translateY(-2px);
}

.category-pill.active {
    background: linear-gradient(135deg, #c9a227, #ddb832);
    border-color: transparent;
    color: #000;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.35);
}


/* Show bottom nav on mobile */
@media (max-width: 768px) {

    /* Make category pills smaller on mobile */
    .category-pills-container {
        top: 70px;
        padding: 12px 0;
    }

    .category-pill {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    /* Transform popup to bottom sheet on mobile */
    .popup-modal .popup-content {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        max-height: 85vh;
        border-radius: 24px 24px 0 0;
        transform: translateY(100%);
        max-width: 100%;
    }

    .popup-modal.active .popup-content {
        transform: translateY(0);
    }

    /* Add drag handle to bottom sheet */
    .popup-content::before {
        content: '';
        position: absolute;
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 4px;
        background: rgba(128, 128, 128, 0.4);
        border-radius: 4px;
        z-index: 10;
    }

    .popup-hero {
        height: 250px;
    }

    .popup-info {
        padding: 1.5rem;
        margin-top: -40px;
    }

    .popup-title {
        font-size: 1.6rem;
    }
}

/* Extra small mobile adjustments */
@media (max-width: 375px) {
    .category-pill {
        padding: 7px 14px;
        font-size: 0.8rem;
    }

}